import request from '../utils/request';
import { baseServerUrl } from '../utils/Constant';

export async function audit(params) {
  return request(`${baseServerUrl}/tms/tms-order/audit`, {
    method: 'POST',
    body: params,
  });
}

export async function income(params) {
  return request(`${baseServerUrl}/tms/tms-order/income`, {
    method: 'POST',
    body: params,
  });
}

export async function pay(params) {
  return request(`${baseServerUrl}/tms/tms-order/pay`, {
    method: 'POST',
    body: params,
  });
}

export async function invoice(params) {
  return request(`${baseServerUrl}/tms/tms-order/invoice`, {
    method: 'POST',
    body: params,
  });
}
